<template>
    <el-menu ref="menu"  class="el-menu-demo" mode="horizontal" background-color="#95106b" text-color="#fff" active-text-color="#ffd04b">
        <el-menu-item>实验室信息管理系统（LIMS）系统不定行，不定列检测</el-menu-item>
    </el-menu>
</template>
<script>
import { defineComponent, reactive } from 'vue'
import { ElMenu, ElMenuItem } from "element-plus"
export default defineComponent({
    components: {
        ElMenu, ElMenuItem
    },
    setup() {
        let active_index = reactive(0)
        if (window.location.hash.indexOf("/designer") != -1) {
            active_index = 1
        }
        return {
            active_index
        }
    },
})

</script>
 
<style>
.el-menu-demo {
    width: 100%;
}

.list {
    display: flex;
    height: 40px;
    align-items: center;
    padding-left: 15px;

}

.item {
    width: 96px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    cursor: pointer;
    transition: border 0.3s, background-color 0.3s, color 0.3s;
    border-bottom: 2px solid transparent;
    box-sizing: border-box;
}

.item:hover {
    background-color: rgb(119, 13, 86);
}

.active {
    color: rgb(255, 208, 75);
    border-bottom: 2px solid rgb(255, 208, 75);
}

.el-menu-item.is-disabled {
    opacity: 1;
    cursor: default;
}

.color-gray {
    color: #aaa;
    display: flex;
    align-items: center;
}

.color-blue {
    color: #0ff00f !important;
}
</style>